<%--
  Created by IntelliJ IDEA.
  User: 11382
  Date: 2022/5/13
  Time: 23:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <style>
        h1,h4{
            text-align: center;
            padding: 40px 0 40px 0;
            /*上右下左*/
        }
        h4>img{
            margin-bottom: 5px;
        }
    </style>
</head>
<body>
<%--导入依赖--%>
<jsp:include page="/WEB-INF/pages/module/head.jsp">
    <jsp:param name="title_2" value="用户注册页"/>
</jsp:include>
<%--导入导航栏--%>
<jsp:include page="/WEB-INF/pages/module/navbar.jsp"/>
<div class="container">
    <div class="row">
        <div class="col-4"></div>
        <div class="col-4">
            <h4><img src="/static/img/logoti.png" height="62" width="175">BBS用户注册</h4>
            <form name="RegisterForm" action="${pageContext.request.contextPath}/user/register.do" method="post">
                <div class="form-floating mb-3">
                    <input type="text" class="form-control" id="username" name="username" placeholder="A combination of numbers or letters">
                    <label for="username">用户名</label>
                </div>
                <div class="form-floating mb-3">
                    <input type="password" class="form-control" id="password" name="password" placeholder="Password">
                    <label for="password">密码</label>
                </div>
                <div class="form-floating mb-3">
                    <input type="text" class="form-control" id="alias" name="alias" placeholder="Affectionately addressed">
                    <label for="alias">昵称</label>
                </div>
                <div class="form-floating mb-3">
                    <input type="email" class="form-control" id="email" name="email" placeholder="example@domain.com">
                    <label for="email">电子邮件</label>
                </div>
                <div class="form-floating mb-3">
                    <input type="text" class="form-control" id="qq" name="qq" placeholder="Tencent QQ ID">
                    <label for="qq">QQ号</label>
                </div>
                <h1>
                    <a class="btn btn-outline-warning" href="${pageContext.request.contextPath}/user/login" role="button">已有账户？点此登录</a>
                    <button type="submit" class="btn btn-primary">即刻加入</button>
                </h1>

            </form>
        </div>
        <div class="col-4">
        </div>
    </div>
</div>

</body>
</html>
